home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00030_Stop Transport Button.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  642 b   |  22 lines

  1. on mouseDown
  2.   global giVidSprite, giVid2Sprite, giTempVidCast, giTempVid2Cast, giTempVid3Cast, giVid3Sprite
  3.   buttonLogic()
  4.   if the result = 1 then
  5.     if the visible of sprite giVid2Sprite = 1 then
  6.       set tempSprite to giVid2Sprite
  7.       set tempCast to giTempVid2Cast
  8.     else
  9.       if the visible of sprite giVidSprite = 1 then
  10.         set tempSprite to giVidSprite
  11.         set tempCast to giTempVidCast
  12.       else
  13.         if the visible of sprite giVid3Sprite = 1 then
  14.           set tempSprite to giVid3Sprite
  15.           set tempCast to giTempVid3Cast
  16.         end if
  17.       end if
  18.     end if
  19.     cRollVideo(0, tempSprite)
  20.   end if
  21. end
  22.